<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width,initial-scale=1.0">
    <link rel="icon" href="<%= BASE_URL %>favicon.ico">
    <title>
        <%= htmlWebpackPlugin.options.isProd?'':'dev -' %>Crayon的管理系统
    </title>

    <!-- 判断开发模式,决定是否加载这些CDN -->
    <% if(htmlWebpackPlugin.options.isProd){%>
        <!-- vue -->
        <script src="https://cdn.bootcss.com/vue/2.6.11/vue.min.js"></script>
        <!-- vue-router -->
        <script src="https://cdn.bootcss.com/vue-router/3.1.3/vue-router.min.js"></script>
        <!-- axios -->
        <script src="https://cdn.bootcss.com/axios/0.19.2/axios.min.js"></script>
        <!-- echarts -->
        <script src="https://cdn.bootcss.com/echarts/4.7.0/echarts.min.js"></script>
        <!-- nprogress -->
        <link href="https://cdn.bootcss.com/nprogress/0.2.0/nprogress.min.css" rel="stylesheet">
        <script src="https://cdn.bootcss.com/nprogress/0.2.0/nprogress.min.js"></script>

        <!-- 引入样式 -->
        <link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css">
        <!-- 引入组件库 -->
        <script src="https://unpkg.com/element-ui/lib/index.js"></script>

        <!-- vue-quill-editor -->
        <!-- <link rel="stylesheet" href="path/to/quill.core.css" />
    <link rel="stylesheet" href="path/to/quill.snow.css" />
    <link rel="stylesheet" href="path/to/quill.bubble.css" />
    <script type="text/javascript" src="path/to/quill.js"></script>
    <script type="text/javascript" src="path/to/dist/vue-quill-editor.js"></script> -->
        <% } %>

</head>

<body>
    <noscript>
      <strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
    </noscript>
    <div id="app"></div>
    <!-- built files will be auto injected -->
</body>

</html>